<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/7/26
  Time: 19:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="list-item">
    <c:forEach items="${sessionScope.writeid}" var="cc">
        <div class="item">
            <div class="layui-fluid">
                <div class="layui-row">
                    <div class="layui-col-xs12 layui-col-sm4 layui-col-md5">
                        <div class="img"><img src="${cc.writingsimg}" alt=""></div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm8 layui-col-md7">
                        <div class="item-cont">
                            <h3>${cc.writingstitle}<button class="layui-btn layui-btn-danger new-icon">new</button></h3>
                            <h5>${cc.writingstype}</h5>
                            <p>${cc.writingscontent}</p>
                            <a href="details.html" class="go-icon"></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </c:forEach>
</div>
<div id="demo" style="text-align: center;"></div>
